\hypertarget{mergesort__test_8h}{}\section{src/sort\+\_\+algorithms/merge\+\_\+sort/mergesort\+\_\+test.h File Reference}
\label{mergesort__test_8h}\index{src/sort\+\_\+algorithms/merge\+\_\+sort/mergesort\+\_\+test.\+h@{src/sort\+\_\+algorithms/merge\+\_\+sort/mergesort\+\_\+test.\+h}}
{\ttfamily \#include \char`\"{}src/google\+\_\+test/gtest.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}mergesort.\+h\char`\"{}}\\*
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{mergesort__test_8h_aaa0692399fb3f538feb04053f36a2978}{T\+E\+S\+T} (test\+\_\+merge\+\_\+sort, test\+\_\+\+C\+\_\+array)
\begin{DoxyCompactList}\small\item\em merge\+\_\+sort\+\_\+test：测试\+C数组的归并排序 \end{DoxyCompactList}\item 
\hyperlink{mergesort__test_8h_a3ba4120b2fc820c85807a87fa724b4c8}{T\+E\+S\+T} (test\+\_\+merge\+\_\+sort, test\+\_\+std\+\_\+container)
\begin{DoxyCompactList}\small\item\em merge\+\_\+sort\+\_\+test：测试std\+::array的归并排序 \end{DoxyCompactList}\item 
\hyperlink{mergesort__test_8h_a624f7bd45f730204baf874014d774e02}{T\+E\+S\+T} (test\+\_\+merge, test\+\_\+\+C\+\_\+array)
\begin{DoxyCompactList}\small\item\em merge\+\_\+test：测试\+C数组的归并 \end{DoxyCompactList}\item 
\hyperlink{mergesort__test_8h_a5806959cff92a4e6c979d4fa47902325}{T\+E\+S\+T} (test\+\_\+merge, test\+\_\+std\+\_\+container)
\begin{DoxyCompactList}\small\item\em merge\+\_\+test：测试std\+::array的归并 \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Function Documentation}
\hypertarget{mergesort__test_8h_aaa0692399fb3f538feb04053f36a2978}{}\index{mergesort\+\_\+test.\+h@{mergesort\+\_\+test.\+h}!T\+E\+S\+T@{T\+E\+S\+T}}
\index{T\+E\+S\+T@{T\+E\+S\+T}!mergesort\+\_\+test.\+h@{mergesort\+\_\+test.\+h}}
\subsubsection[{T\+E\+S\+T(test\+\_\+merge\+\_\+sort, test\+\_\+\+C\+\_\+array)}]{\setlength{\rightskip}{0pt plus 5cm}T\+E\+S\+T (
\begin{DoxyParamCaption}
\item[{test\+\_\+merge\+\_\+sort}]{, }
\item[{test\+\_\+\+C\+\_\+array}]{}
\end{DoxyParamCaption}
)}\label{mergesort__test_8h_aaa0692399fb3f538feb04053f36a2978}


merge\+\_\+sort\+\_\+test：测试\+C数组的归并排序 

四组数组： 增序排列、降序排列、有重复数字、单元素的数组 参考函数： std\+::sort()函数 

Definition at line 31 of file mergesort\+\_\+test.\+h.

\hypertarget{mergesort__test_8h_a3ba4120b2fc820c85807a87fa724b4c8}{}\index{mergesort\+\_\+test.\+h@{mergesort\+\_\+test.\+h}!T\+E\+S\+T@{T\+E\+S\+T}}
\index{T\+E\+S\+T@{T\+E\+S\+T}!mergesort\+\_\+test.\+h@{mergesort\+\_\+test.\+h}}
\subsubsection[{T\+E\+S\+T(test\+\_\+merge\+\_\+sort, test\+\_\+std\+\_\+container)}]{\setlength{\rightskip}{0pt plus 5cm}T\+E\+S\+T (
\begin{DoxyParamCaption}
\item[{test\+\_\+merge\+\_\+sort}]{, }
\item[{test\+\_\+std\+\_\+container}]{}
\end{DoxyParamCaption}
)}\label{mergesort__test_8h_a3ba4120b2fc820c85807a87fa724b4c8}


merge\+\_\+sort\+\_\+test：测试std\+::array的归并排序 

四组std\+::array： 增序排列、降序排列、有重复数字、单元素的std\+::array 参考函数： std\+::sort()函数 

Definition at line 62 of file mergesort\+\_\+test.\+h.

\hypertarget{mergesort__test_8h_a624f7bd45f730204baf874014d774e02}{}\index{mergesort\+\_\+test.\+h@{mergesort\+\_\+test.\+h}!T\+E\+S\+T@{T\+E\+S\+T}}
\index{T\+E\+S\+T@{T\+E\+S\+T}!mergesort\+\_\+test.\+h@{mergesort\+\_\+test.\+h}}
\subsubsection[{T\+E\+S\+T(test\+\_\+merge, test\+\_\+\+C\+\_\+array)}]{\setlength{\rightskip}{0pt plus 5cm}T\+E\+S\+T (
\begin{DoxyParamCaption}
\item[{test\+\_\+merge}]{, }
\item[{test\+\_\+\+C\+\_\+array}]{}
\end{DoxyParamCaption}
)}\label{mergesort__test_8h_a624f7bd45f730204baf874014d774e02}


merge\+\_\+test：测试\+C数组的归并 

五组数组： 左右对半、左边只有1个元素、右边只有一个1元素、左边只有0个元素、右边只有一个0元素 参考函数： std\+::sort()函数 

Definition at line 92 of file mergesort\+\_\+test.\+h.

\hypertarget{mergesort__test_8h_a5806959cff92a4e6c979d4fa47902325}{}\index{mergesort\+\_\+test.\+h@{mergesort\+\_\+test.\+h}!T\+E\+S\+T@{T\+E\+S\+T}}
\index{T\+E\+S\+T@{T\+E\+S\+T}!mergesort\+\_\+test.\+h@{mergesort\+\_\+test.\+h}}
\subsubsection[{T\+E\+S\+T(test\+\_\+merge, test\+\_\+std\+\_\+container)}]{\setlength{\rightskip}{0pt plus 5cm}T\+E\+S\+T (
\begin{DoxyParamCaption}
\item[{test\+\_\+merge}]{, }
\item[{test\+\_\+std\+\_\+container}]{}
\end{DoxyParamCaption}
)}\label{mergesort__test_8h_a5806959cff92a4e6c979d4fa47902325}


merge\+\_\+test：测试std\+::array的归并 

五组std\+::array： 左右对半、左边只有1个元素、右边只有一个1元素、左边只有0个元素、右边只有一个0元素 参考函数： std\+::sort()函数 

Definition at line 128 of file mergesort\+\_\+test.\+h.

